using System.Web.Mvc;

namespace Web.Manage.BootstrapperTask
{
    public class RegisterDefaultGlobalFilter : IBootstrapperTask
    {
        private readonly GlobalFilterCollection filters;
        public RegisterDefaultGlobalFilter(): this(GlobalFilters.Filters)
        {
        }

        internal RegisterDefaultGlobalFilter(GlobalFilterCollection filters)
        {
            this.filters = filters;
        }

        public void Execute()
        {
            //filters.Add(new HandleErrorAttribute());
            //filters.Add(new ByHandleErrorAttribute());
        }
    }
}